package com.ruoyi.device.mapper;

import java.util.List;
import com.ruoyi.device.domain.GraphicsLibrary;

/**
 * 图元图形库Mapper接口
 * 
 * @author li
 * @date 2025-09-19
 */
public interface GraphicsLibraryMapper 
{
    /**
     * 查询图元图形库
     * 
     * @param id 图元图形库主键
     * @return 图元图形库
     */
    public GraphicsLibrary selectGraphicsLibraryById(Long id);

    /**
     * 查询图元图形库列表
     * 
     * @param graphicsLibrary 图元图形库
     * @return 图元图形库集合
     */
    public List<GraphicsLibrary> selectGraphicsLibraryList(GraphicsLibrary graphicsLibrary);

    /**
     * 新增图元图形库
     * 
     * @param graphicsLibrary 图元图形库
     * @return 结果
     */
    public int insertGraphicsLibrary(GraphicsLibrary graphicsLibrary);

    /**
     * 修改图元图形库
     * 
     * @param graphicsLibrary 图元图形库
     * @return 结果
     */
    public int updateGraphicsLibrary(GraphicsLibrary graphicsLibrary);

    /**
     * 删除图元图形库
     * 
     * @param id 图元图形库主键
     * @return 结果
     */
    public int deleteGraphicsLibraryById(Long id);

    /**
     * 批量删除图元图形库
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGraphicsLibraryByIds(Long[] ids);
}
